cmake_minimum_required(VERSION 3.0)

set(CUDA_TOOLKIT_ROOT_DIR C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v8.0)
find_package(CUDA QUIET REQUIRED)

include_directories(${PROJECT_SOURCE_DIR}/test/test_cuda/include)
cuda_add_executable(
        squaresum
        ${PROJECT_SOURCE_DIR}/test/test_cuda/test.cpp
        ${PROJECT_SOURCE_DIR}/test/test_cuda/squaresum.cu
        ${PROJECT_SOURCE_DIR}/test/test_cuda/utils.cu
)
